
// 团长列表
export function fetchList() {
  const data = {
    "code": 200,
    "message": "操作成功",
    "data": {
      "pageNum": 1,
      "pageSize": 100,
      "totalPage": 1,
      "total": 11,
      "list": [{
        'id':1,
        'userId': '100',
        'userName': '曾哥',
        'userPhone': '19925798727',
        'recommendCode': 'abced',
        'ranks': '普通团长',
        'status': 1,
        'parentName': '邀请人',
        'association':'etiao',
        'membersNum': 1000,
        'address': '广州市白云区',
        'createTime': 1582772171
      }]
    }
  }
  return {
    url: 'regimental/fetchList',
    type: 'post',
    data: data
  }
}


// 删除状态
export function updateDeleteStatus() {
  const data = {
    "code": 200,
    "msg": '操作成功',
    "data": {}
  }
  return {
    url: 'regimental/updateDeleteStatus',
    type: 'get',
    data: data
  }
}
